<template>
  <div id="app">
    <!-- <img src="./assets/logo.png"> -->
    <!-- 路由中的内容被加载过一次后，就被存放到路由中，下次再加载就不需要重新渲染这个组件，执行钩子函数了 -->
    <keep-alive exclude="Detail">
     <router-view/>
    </keep-alive>
  </div>
</template>

<script>
export default{
  name: 'App'
}
</script>

<style>
/*#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}*/
</style>
